--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 814cd043b810115a977f2446aa7629e1a4303a05
Parents : 5752e70
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Date : 2026-05-22T22:57:53+02:00
Ensure important future options availability
Changes
Diff
diff --git a/nomadnet/NomadNetworkApp.py b/nomadnet/NomadNetworkApp.py
index 8fb63e0..428af97 100644
--- a/nomadnet/NomadNetworkApp.py
+++ b/nomadnet/NomadNetworkApp.py
@@ -164,6 +164,7 @@ class NomadNetworkApp:
self.rrc_ui_render_markdown = True
self.rrc_ui_render_micron = True
self.rrc_show_gutters = False
+ self.rrc_enable_esoterics = False
if not os.path.isdir(self.storagepath):
os.makedirs(self.storagepath)
@@ -1046,6 +1047,11 @@ class NomadNetworkApp:
except Exception: value = False
self.rrc_show_gutters = value
+ if option == "enable_esoterics":
+ try: value = self.config["rrc"].as_bool(option)
+ except Exception: value = False
+ self.rrc_enable_esoterics = value
+
if "node" in self.config:
if not "enable_node" in self.config["node"]:
self.enable_node = False
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────